#!/usr/bin/env python3

import os
myFile = ['account.txt', 'details.csv', 'invite.docx']
for filename in myFile:
    print(os.path.join('/home', 'ziming', filename))
Path=os.path.join('/usr', 'bin', 'spam', 'a.txt')
print(os.getcwd()) #当前工作目录
os.chdir('/home/ziming/Downloads') #更改当前目录
print(os.getcwd()) #当前工作目录
os.makedirs('/home/ziming/gitee/python/src/test/a')
